package com.hit.serviceBase.exceptionHandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor//全参数构造方法
@NoArgsConstructor//无参构造方法
public class MyException extends RuntimeException{
    private Integer code;//异常状态码
    private String msg;//异常信息
}
